<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            font-size: 20px;
            background-color: pink;
        }
        #style1{
            background-color: green;
        }
    </style>
    
</head>
<body>
    <h1>hello world内联样式</h1>

    <div style="width: 200px; height: 200px; background-color: red;"></div>
    <h1>内部样式</h1>
    <p id="style1">1-2</p>
    <p>1-3</p>
    <p>1-4</p>
</body>
</html>